package com.biboheart.breport.source.collector;

import com.biboheart.breport.source.BrCollectorAbstract;
import com.biboheart.breport.source.BrDataSource;

import java.util.List;
import java.util.Map;

public class BrCollectorSimple extends BrCollectorAbstract {
    @Override
    public void setDataSource(BrDataSource dataSource) {
        this.dataSource = dataSource;
    }

    @Override
    public List<Map<String, Object>> collection() {
        return dataSource.retrieve();
    }
}
